Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLUENT_PACKAGE_SERVICE_RESTART: make empty or other values as auto #767

Conversation

daipom
Copy link
Contributor

@daipom daipom commented Dec 11, 2024

It should be easy to understand to be the default value if users don't set FLUENT_PACKAGE_SERVICE_RESTART explicitly.

It should be easy to understand to be the default value if users
don't set FLUENT_PACKAGE_SERVICE_RESTART explicitly.

Signed-off-by: Daijiro Fukuda <[email protected]>
@daipom
Copy link
Contributor Author

daipom commented Dec 11, 2024

We can simplify the specification by this.
We can remove the following specification described in #713.

  * `manual`:
    * If the service was active before update, the service does not restart automatically. The old processes continue to work after update.
    * You need to restart service manually as follows:
      * [The zero downtime restart](https://github.com/fluent/fluentd/pull/4624): Send `SIGUSR2` to the supervisor process.
      * Normal restart: Restart service normally, such as `systemctl restart`.
    * Please use this when you want to manage plugins manually, or the environment is offline.
-   * Note: it is considered as `manual` for any value other than `auto`, such as an empty value.
  
- Caution: if you have already customized the file, this value becomes an empty value and is considered as `manual` because the file is not updated.

@daipom daipom mentioned this pull request Dec 11, 2024
Copy link
Contributor

@kenhys kenhys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@daipom daipom merged commit 7e511e9 into fluent:feature-nodowntime Dec 11, 2024
206 checks passed
kenhys pushed a commit that referenced this pull request Dec 11, 2024
kenhys pushed a commit that referenced this pull request Dec 11, 2024
@kenhys kenhys added this to the 5.2.0 milestone Dec 12, 2024
@daipom daipom deleted the FLUENT_PACKAGE_SERVICE_RESTART-make-empty-as-auto branch December 12, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants